<%@ page contentType="text/html; charset=UTF-8" language="java"%>
<%@ include file="/commons/pages/taglibs.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
</head>
<body>
<div class="subtitle">
  <h3>查看信息</h3>
</div>
<table width="100%" border="0" cellpadding="5" cellspacing="1" class="tbl_list">
  <tr>
    <th width="19%" align="right">分摊名称：</th>
    <td width="81%" colspan="3"><s:property value='model.share_name'/></td>
  </tr>
  <tr>
    <th width="19%" align="right">分摊周期开始日期：</th>
    <td width="31%"><s:date name='model.start_date' format="yyyy-MM-dd"/></td>
    <th width="19%" align="right">分摊周期结束日期：</th>
    <td width="31%"><s:date name='model.end_date' format="yyyy-MM-dd"/></td>
  </tr>
  <tr>
    <th width="19%" align="right">平均分摊的分摊方法：</th>
    <td width="81%"  colspan="3">
    	<s:if test="model.share_type==1">过程分摊</s:if>
     	<s:if test="model.share_type==2">收费分摊</s:if>
    </td>
  </tr>
</table>
<table width="100%" border="0" cellpadding="5" cellspacing="1" class="tbl_list">
  <tr>
  	<th colspan="3" height="20">分摊域基础数据</th>
  </tr>
  <tr>
    <th width="19%" align="right">价格信息：</th>
    <td width="65%">计量基本热价<s:property value="shareBO.shareAreaData.base_price"/> 元/m²，计量收费计量热价<s:property value="shareBO.shareAreaData.cal_price"/>
    	<s:if test="shareBO.shareAreaData.cal_unit==1">元/kWh</s:if>
     	<s:if test="shareBO.shareAreaData.cal_unit==2">元/MWh</s:if>
     	<s:if test="shareBO.shareAreaData.cal_unit==3">元/Gj</s:if>
    ，按面积收费<s:property value="shareBO.shareAreaData.area_price"/>元/m²</td>
    <td><a href="${request.contextPath}/management/BaseShareAreaInfo!list.action">进入分摊域信息管理</a></td>
  </tr>
  <tr>
    <th width="19%" align="right" rowspan="2">用户基础信息：</th>
    <td width="65%">该分摊域共<s:property value="shareBO.joinShareUserCount"/>/<s:property value="shareBO.userCount"/>户参与计量收费，其中<s:property value="shareBO.userCount"/>户数据齐全，0户数据不全，数据完整率100%</td>
  	<td>&nbsp;</td>
  </tr>
  <tr>
    <td  width="65%" >该分摊域共<s:property value="shareBO.sinkCount"/>组散热器参与分摊，其中<s:property value="shareBO.sinkCount"/>组数据齐全，0组数据不全，数据完整率100%</td>
  	<td>&nbsp;</td>
  </tr>
  <tr>
    <th width="19%" align="right">分配表安装信息：</th>
    <td width="65%">参与分摊的散热器中<s:property value="shareBO.sinkWithMeterCount"/>组已经安装分配表，<s:property value="shareBO.sinkNoMeterCount"/>组未安装，安装率<s:property value="shareBO.sinkWithMeterPercent"/>%</td>
  	<td>&nbsp;</td>
  </tr>
</table>
<table width="100%" border="0" cellpadding="5" cellspacing="1" class="tbl_list">
  <tr>
  	<th colspan="3" height="20">分摊域基础数据</th>
  </tr>
  <tr>
    <th width="19%" align="right">热量表：</th>
    <td width="65%">共包含<s:property value="shareBO.heatMeterCount"/>只热量表，其中<s:property value="shareBO.heatMeterNoDataCount"/>只尚无数据。</td>
    <td><a href="${request.contextPath}/management/HeatMetaData!list.action">进入热量表数据管理</a></td>
  </tr>
  <tr>
    <th width="19%" align="right">分配表总数：</th>
    <td width="65%">该分摊域共<s:property value="shareBO.assignMeterCount"/>只分配表</td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <th width="19%" align="right">分配表起始抄表数据：</th>
    <td width="65%"><s:property value="shareBO.assignMeterStartDateCount"/>只已导入数据， <s:property value="shareBO.assignMeterStartNoDateCount"/>只尚无数据， 数据完整率<s:property value="shareBO.assignStartPercent"/>%，已导入数据的分配表中有<s:property value="shareBO.assignStartWrongNum"/>只数据异常</td>
  	<td><a href="${request.contextPath}/management/AssignMeterData!listAll.action">进入分配表数据管理</a></td>
  </tr>
  <tr>
    <th width="19%" align="right">分配表结束抄表数据：</th>
    <td width="65%"><s:property value="shareBO.assignMeterEndDateCount"/>只已导入数据， <s:property value="shareBO.assignMeterEndNoDateCount"/>只尚无数据， 数据完整率<s:property value="shareBO.assignEndPercent"/>%，已导入数据的分配表中有<s:property value="shareBO.assignEndWrongNum"/>只数据异常</td>
  	<td>&nbsp;</td>
  </tr>
  <!-- tr>
    <th width="19%" align="right">分配表读数差值：</th>
    <td width="81%">分配表读数差值中有<s:property value="shareBO.wrongDataCount"/>个异常</td>
  </tr-->
  <tr>
    <th width="19%" align="right">分摊结算：</th>
    <td width="65%">
  		<s:if test="shareBO.cal_share==1">
    	数据齐全，可以分摊<br/>
    	<a href="ShareAreaResult!share.action?id=<s:property value='model.id'/>">开始分摊</a>
   		</s:if> 
   		<s:if test="shareBO.cal_share==0">
    	数据不全，不可以分摊
   		</s:if> 	
   </td>
   <td>&nbsp;</td>
  </tr>
</table>
</body>
</html>
